import { post } from '@/utils/request';

export default {
  // 开放平台用户登录
  login: (data: Object) => post(`/opuser/login`, data),
  // 用户信息查询
  userQuery: () => post(`/opuser/userQuery`, {}, true),
  // 开放平台用户注册
  register: (data: Object) => post(`/opuser/register`, data),
  // 开放平台密码重置
  resetPwd: (data: Object) => post(`/opuser/resetPwd`, data),
  // 开放平台用户关联信息查询
  queryUserRelation: (data: Object) => post(`/opuser/queryUserRelation`, data, true),
};
